﻿using CommunicationLib.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CommunicationLib.Interface
{
   public interface  ICommunication
    {
        //开始通讯
        bool Start();
        //是否正在通讯
        bool Stop();
        //发送数据 
        void Send(DataPackage dataPackage);
    }
}
